<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once( JApplicationHelper::getPath( 'toolbar_html' ) );

switch (JRequest::getWord('controller')){
	case 'delivery':
		TOOLBAR_set::_MNGDELIVERY('delivery');
		switch($task){	
			default:
				TOOLBAR_set::_DELIVERY();
				break;
		}
		break;
	case 'area':
		TOOLBAR_set::_MNGDELIVERY('area');
		switch($task){	
			default:
				TOOLBAR_set::_AREA();
				break;
		}
		break;
	case 'express':
		TOOLBAR_set::_MNGDELIVERY('express');
		switch($task){	
			default:
				TOOLBAR_set::_EXPRESS();
				break;
		}
		break;	
	case 'store':
		switch($task){
			case 'mngstore':
				TOOLBAR_set::_MNGSTORE();
				break;
			case 'lists':
				TOOLBAR_set::_LISTS();
				break;		
			case 'addstore':
				TOOLBAR_set::_ADDSTORE();
				break;
			case 'editstore':		
				TOOLBAR_set::_EDITSTORE();
				break;			
			default:
				TOOLBAR_set::_DEFAULT();
				break;	
		}	
}
?>